import { default as request, cloud } from '@/framework/utils/request'

export function searchUser(name) {
  return request({
    url: `${cloud.dqbasic}/vue-element-admin/search/user`,
    method: 'get',
    params: { name }
  })
}

export function transactionList(query) {
  return request({
    url: `${cloud.dqbasic}/vue-element-admin/transaction/list`,
    method: 'get',
    params: query
  })
}
